package admin;

import com.framework.loippi.tencent.IM.TXCloudUtils;

import java.util.UUID;

public class MyTset {

	public static void main(String[] args) {
		  String newString = String.format("%0"+6+"d", 10000);  

		System.out.println(newString);
        System.out.println(genUUIDRandom().length());
//		TXCloudUtils.addFriend("user_76", "aicang", "","Web");
	}

	private static String genUUIDRandom() {
		String string = UUID.randomUUID().toString();
		return string.replaceAll("-", "").substring(0, 30);
	}
}
